package com.zidian.study.bean;

import com.zidian.study.globa.BaseEntity;

import java.util.List;

/**
 * Created by GongCheng on 2017/1/13.
 */

public class PrizeRecordBean extends BaseEntity {

    /**
     * change : {"changeAddress":"教学楼","changeTime":"每个月的最后一天"}
     * data : [{"id":12,"prizeNumber":5,"winningTime":"2017-01-09 10:14","prizeType":0},{"id":13,"prizeNumber":5,"winningTime":"2017-01-09 11:03","prizeType":0},{"id":14,"prizeNumber":5,"winningTime":"2017-01-09 11:04","prizeType":0}]
     * code : 200
     */

    private ChangeBean change;
    private List<DataBean> data;

    public ChangeBean getChange() {
        return change;
    }

    public void setChange(ChangeBean change) {
        this.change = change;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class ChangeBean {
        /**
         * changeAddress : 教学楼
         * changeTime : 每个月的最后一天
         */

        private String changeAddress;
        private String changeTime;

        public String getChangeAddress() {
            return changeAddress;
        }

        public void setChangeAddress(String changeAddress) {
            this.changeAddress = changeAddress;
        }

        public String getChangeTime() {
            return changeTime;
        }

        public void setChangeTime(String changeTime) {
            this.changeTime = changeTime;
        }
    }

    public static class DataBean {
        /**
         * id : 12
         * prizeNumber : 5
         * winningTime : 2017-01-09 10:14
         * prizeType : 0
         */

        private int id;
        private int prizeNumber;
        private String winningTime;
        private int prizeType;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPrizeNumber() {
            return prizeNumber;
        }

        public void setPrizeNumber(int prizeNumber) {
            this.prizeNumber = prizeNumber;
        }

        public String getWinningTime() {
            return winningTime;
        }

        public void setWinningTime(String winningTime) {
            this.winningTime = winningTime;
        }

        public int getPrizeType() {
            return prizeType;
        }

        public void setPrizeType(int prizeType) {
            this.prizeType = prizeType;
        }
    }
}
